FileName.equalsExt

  1. bool equalsExt(const(char)* name, const(char)* ext)
  2. bool equalsExt(const(char)[] name, const(char)[] ext)
    struct FileName
    extern (D) nothrow static pure @nogc
    bool
    equalsExt
    (
    const(char)[] name
    ,
    const(char)[] ext
    )
  3. bool equalsExt(const(char)* ext)

Return Value

Type: bool

true if name's extension is ext

Meta