Namespace: FILE#
A namespace for file constructs.
Functions#
getType#
getType(ext,defaultType?):string
Get a mimetype (or fallback).
Parameters#
Name |
Type |
Default value |
|---|---|---|
|
|
|
|
|
|
Returns#
string
Defined in#
hasFormat#
hasFormat(ext,fileFormat):boolean
Determine whether the given extension matches a given fileFormat.
Parameters#
Name |
Type |
|---|---|
|
|
|
|
Returns#
boolean