mirror of
https://github.com/actions/toolkit
synced 2025-05-10 09:03:02 +00:00
Describe behaviour of getInput (#808)
This commit is contained in:
parent
f915ace085
commit
3bd746139f
1 changed files with 3 additions and 1 deletions
|
@ -78,7 +78,9 @@ export function addPath(inputPath: string): void {
|
|||
}
|
||||
|
||||
/**
|
||||
* Gets the value of an input. The value is also trimmed.
|
||||
* Gets the value of an input.
|
||||
* Unless trimWhitespace is set to false in InputOptions, the value is also trimmed.
|
||||
* Returns an empty string if the value is not defined.
|
||||
*
|
||||
* @param name name of the input to get
|
||||
* @param options optional. See InputOptions.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue