Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

Commit

Permalink
Add numberValue. #8
Browse files Browse the repository at this point in the history
  • Loading branch information
calebd committed Nov 20, 2015
1 parent 0a8306f commit 9986925
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Alexander/JSON.swift
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,8 @@ extension JSON {
public var CGFloatValue: CGFloat? {
return object as? CGFloat
}

public var numberValue: NSNumber? {
return object as? NSNumber
}
}

0 comments on commit 9986925

Please sign in to comment.