A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.cdn.mozilla.net/ja/docs/Web/API/FileSystemEntry/name below:

FileSystemEntry: name プãƒãƒ‘ティ - Web API

FileSystemEntry: name プロパティ

name は FileSystemEntry インターフェイスの読み取り専用プロパティで、この項目の名前を指定する文字列を返します。これは、親ディレクトリー内の項目(fullPath プロパティが示すパスの最後の部品)です。

値

項目の名前を示す文字列。

例

この例では isFileWithExtension() という関数を示しています。この関数は、指定した FileSystemEntry がファイルであり、かつそのファイル名が指定された拡張子で終わっている場合に true を返します。

function isFileWithExtension(entry, extension) {
  return entry.isFile && entry.name.endsWith(`.${extension}`);
}
仕様書 ブラウザーの互換性 関連情報

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4