github :: GithubArray :: defaultinit
# Return deserialization as an array of E
#
# Non-subtypes will be ignored.
private class GithubArray[E]
super Array[E]
# Create `self` from an Array of objects
#
# Objects non-subtyping E will be ignored.
init from(res: nullable Object) do
if not res isa Array[Object] then return
for obj in res do
if obj isa E then add obj
end
end
end
lib/github/api.nit:455,1--470,3