Skip to content

Commit d48f6ce

Browse files
committed
std: A module for working with objects
1 parent 341059b commit d48f6ce

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

std/object/object.pics

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
// Module: Object
3+
// Provides functions for working with objects
4+
module Object {
5+
// Function: hasKey
6+
// Checks is the objects has the specified value as a key
7+
//
8+
// Parameters:
9+
// value - The value to check
10+
//
11+
// Returns:
12+
// true if the object contains the key, false if not
13+
function haskey(value) = pic_nat_ishaskey(value)
14+
}

0 commit comments

Comments
 (0)