All Downloads are FREE. Search and download functionalities are using the official Maven repository.

functions.type.isUndefined.json Maven / Gradle / Ivy

Go to download

This artifact stores acceptance test cases for all histone implementations (histone-java, histone-javascript).

The newest version!
[{
	"name": "type.isUndefined",
	"cases": [{
		"input": "a {{undefined.isUndefined()}} b",
		"expectedResult": "a true b"
	}, {
		"input": "a {{null.isUndefined()}} b",
		"expectedResult": "a false b"
	}, {
		"input": "a {{true.isUndefined()}} b",
		"expectedResult": "a false b"
	}, {
		"input": "a {{false.isUndefined()}} b",
		"expectedResult": "a false b"
	}, {
		"input": "a {{\"string\".isUndefined()}} b",
		"expectedResult": "a false b"
	}, {
		"input": "a {{123.isUndefined()}} b",
		"expectedResult": "a false b"
	}, {
		"input": "a {{123.8.isUndefined()}} b",
		"expectedResult": "a false b"
	}, {
		"input": "a {{.123.isUndefined()}} b",
		"expectedResult": "a false b"
	}, {
		"input": "a {{0.123.isUndefined()}} b",
		"expectedResult": "a false b"
	}, {
		"input": "a {{123E-3.isUndefined()}} b",
		"expectedResult": "a false b"
	}, {
		"input": "a {{-123.8.isUndefined()}} b",
		"expectedResult": "a false b"
	}, {
		"input": "a {{-.123.isUndefined()}} b",
		"expectedResult": "a false b"
	}, {
		"input": "a {{-0.123.isUndefined()}} b",
		"expectedResult": "a false b"
	}, {
		"input": "a {{-123E-3.isUndefined()}} b",
		"expectedResult": "a false b"
	}, {
		"input": "a {{[1, 2, 3].isUndefined()}} b",
		"expectedResult": "a false b"
	}, {
		"input": "a {{[\"foo\": \"bar\"].isUndefined()}} b",
		"expectedResult": "a false b"
	}]
}]




© 2015 - 2025 Weber Informatics LLC | Privacy Policy