Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

check

import { check } from "https://garn.io/ts/v0.0.19/mod.ts";

Creates a new shell script Check, run in the emptyEnvironment.

Example:

// Will fail if any `TODO`s are found in the build artifacts of myPkg:
garn.check`! grep -r TODO ${myPkg}`;
function check(check: string): Check;
function check(s: TemplateStringsArray, ...args: Array<NixStrLitInterpolatable>): Check;
function check(s: TemplateStringsArray | string, ...args: Array<NixStrLitInterpolatable>);
§
check(check: string): Check
[src]

Creates a new shell script Check, run in the emptyEnvironment.

Example:

// Will fail if any `TODO`s are found in the build artifacts of myPkg:
garn.check`! grep -r TODO ${myPkg}`;

§Parameters

§
check: string
[src]

§Return Type

§
check(s: TemplateStringsArray, ...args: Array<NixStrLitInterpolatable>): Check
[src]

§Parameters

§
s: TemplateStringsArray
[src]
§
...args: Array<NixStrLitInterpolatable> optional
[src]

§Return Type

§
check(s: TemplateStringsArray | string, ...args: Array<NixStrLitInterpolatable>)
[src]

§Parameters

§
s: TemplateStringsArray | string
[src]
§
...args: Array<NixStrLitInterpolatable> optional
[src]