Type Aliases
WhichOptions
type WhichOptions = object
Defined in: index.ts:65
Type declaration
all?
optional all: boolean;
delimiter?
optional delimiter: string;
nothrow?
optional nothrow: boolean;
path?
optional path: string;
pathExt?
optional pathExt: string;
WhichOptionsFindAll
type WhichOptionsFindAll = WhichOptions & object
Defined in: index.ts:73
Type declaration
all
all: true
WhichOptionsFindAllNoThrow
type WhichOptionsFindAllNoThrow = WhichOptionsFindAll & WhichOptionsNoThrow
Defined in: index.ts:84
WhichOptionsFindAllThrow
type WhichOptionsFindAllThrow = WhichOptionsFindAll & WhichOptionsThrow
Defined in: index.ts:86
WhichOptionsFindOne
type WhichOptionsFindOne = WhichOptions & object
Defined in: index.ts:74
Type declaration
all?
optional all: false;
WhichOptionsFindOneNoThrow
type WhichOptionsFindOneNoThrow = WhichOptionsFindOne & WhichOptionsNoThrow
Defined in: index.ts:81
WhichOptionsFindOneThrow
type WhichOptionsFindOneThrow = WhichOptionsFindOne & WhichOptionsThrow
Defined in: index.ts:79
WhichOptionsNoThrow
type WhichOptionsNoThrow = WhichOptions & object
Defined in: index.ts:76
Type declaration
nothrow
nothrow: true
WhichOptionsThrow
type WhichOptionsThrow = WhichOptions & object
Defined in: index.ts:77
Type declaration
nothrow?
optional nothrow: false;
Functions
which()
Call Signature
function which(cmd): Promise<string>
Defined in: index.ts:89
Parameters
cmd
string
Returns
Promise
<string
>
Call Signature
function which(cmd, opt): Promise<string[] | null>
Defined in: index.ts:90
Parameters
cmd
string
opt
Returns
Promise
<string
[] | null
>
Call Signature
function which(cmd, opt): Promise<string | null>
Defined in: index.ts:94
Parameters
cmd
string
opt
Returns
Promise
<string
| null
>
Call Signature
function which(cmd, opt): Promise<string[]>
Defined in: index.ts:98
Parameters
cmd
string
opt
Returns
Promise
<string
[]>
Call Signature
function which(cmd, opt): Promise<string>
Defined in: index.ts:102
Parameters
cmd
string
opt
Returns
Promise
<string
>
Call Signature
function which(cmd, opt): Promise<string | null>
Defined in: index.ts:106
Parameters
cmd
string
opt
Returns
Promise
<string
| null
>
Call Signature
function which(cmd, opt): Promise<string[] | string | null>
Defined in: index.ts:110
Parameters
cmd
string
opt
Returns
Promise
<string
[] | string
| null
>
Call Signature
function which(cmd, opt): Promise<string[] | null>
Defined in: index.ts:114
Parameters
cmd
string
opt
Returns
Promise
<string
[] | null
>
Call Signature
function which(cmd, opt): Promise<string[] | string | null>
Defined in: index.ts:118
Parameters
cmd
string
opt
Returns
Promise
<string
[] | string
| null
>
whichSync()
Call Signature
function whichSync(cmd): string
Defined in: index.ts:155
Parameters
cmd
string
Returns
string
Call Signature
function whichSync(cmd, opt): string[] | null
Defined in: index.ts:156
Parameters
cmd
string
opt
Returns
string
[] | null
Call Signature
function whichSync(cmd, opt): string | null
Defined in: index.ts:160
Parameters
cmd
string
opt
Returns
string
| null
Call Signature
function whichSync(cmd, opt): string[]
Defined in: index.ts:164
Parameters
cmd
string
opt
Returns
string
[]
Call Signature
function whichSync(cmd, opt): string
Defined in: index.ts:168
Parameters
cmd
string
opt
Returns
string
Call Signature
function whichSync(cmd, opt): string | null
Defined in: index.ts:172
Parameters
cmd
string
opt
Returns
string
| null
Call Signature
function whichSync(cmd, opt): string[] | string | null
Defined in: index.ts:176
Parameters
cmd
string
opt
Returns
string
[] | string
| null
Call Signature
function whichSync(cmd, opt): string[] | null
Defined in: index.ts:180
Parameters
cmd
string
opt
Returns
string
[] | null
Call Signature
function whichSync(cmd, opt?): string[] | string | null
Defined in: index.ts:184
Parameters
cmd
string
opt?
Returns
string
[] | string
| null